{:W('Template/top')}
<div class="wrapper clearfix content" style="position: relative;border: 1px solid #ddd">
    {:W('Template/left')}
    <div class="rightbox pull-right">
        <div class="ur-here">您当前的位置：订单管理&gt;
            <if condition="$Think.session.entity_type eq 3">
                <a href="{:U('OrderTour/index',array('id'=>I('get.id')))}">
                    线路产品订单
                </a>
                <else/>
                线路产品订单
            </if>
            &gt;订单详情
        </div>
        <div class="cTitle2">订单详情</div>
        <div class="orderDetail">
            <div class="top">
                <a href="#">游客信息</a><a href="#">订单跟踪</a>
            </div>

            <table width="100%" class="order-Tb table-hover">
                <tr>
                    <th>成人数</th>
                    <th>儿童数</th>
                    <th>单房差数</th>
                    <th>参团方式</th>
                    <th>去程交通</th>
                    <th>回程交通</th>
                    <th>联系人</th>
                    <th>联系电话</th>
                    <th>出团时间</th>
                </tr>
                <tr>
                    <td>{$info.client_adult_count}人</td>
                    <td>{$info.client_child_count}人</td>
                    <td>{$info.hotel_count}人</td>
                    <td>
                        <if condition="$info['tour']['travel_type'] eq 1">散拼团
                            <elseif condition="$info['tour']['travel_type'] eq 2"/>
                            自由行
                            <elseif condition="$info['tour']['travel_type'] eq 3"/>
                            当地游
                        </if>
                    </td>
                    <td>{$info.tour.traffic_go}</td>
                    <td>{$info.tour.traffic_back}</td>
                    <td>{$info.tour.contact_person}</td>
                    <td>{$info.tour.contact_phone}</td>
                    <td>{$info.start_time|substr=0,10}</td>
                </tr>
            </table>
            <table width="100%" class="order-Tb">
                <tr>
                    <th>订单跟踪</th>
                    <th>发生金额</th>
                    <th>订单总额</th>
                    <th>备注</th>
                    <th>处理时间</th>
                    <th>操作人</th>
                </tr>
                <foreach name="orderLog" item="vo">
                    <tr>
                        <td style="text-align:left">{$vo.content}</td>
                        <td class="text-c5">{$vo.amount|getYuan}</td>
                        <td class="text-c1">{$vo.payable_total|getYuan}</td>
                        <td>
                            <if condition="$vo['remark'] neq ''">
                                {$vo.remark}
                                <else/>
                                --
                            </if>
                        </td>
                        <td>{$vo.create_time}</td>
                        <td>{$vo.user_name}</td>
                    </tr>
                </foreach>
            </table>
        </div>
    </div>
</div>
{:W('Template/bottom')}
<script>
    $(function () {
        //审核产品切换
        $('.order-Tb').not(".order-Tb:first").hide();
        $('.top a:first').addClass('current');
        $('.top a').click(function () {
            var id = $(this).index();
            $('.top a').removeClass('current');
            $(this).addClass('current');
            $('.order-Tb').hide();
            $('.order-Tb').eq(id).show();
        });
    })
</script>
</body>
</html>